


#pragma once

#include "cs_defline.h"

#include _HashTable 
#include "clexer.h" 
#include "cparser.h"
#include "cvm.h"

typedef struct CS_field{
	const char* m_namespace;

}CS_field;

typedef struct CS_func{
	const char* m_namespace;

}CS_func;



typedef struct CS_class{
	CS_func** m_func_arr;
	CS_field** m_field_arr;
}CS_class;


//typedef struct CS_assembly{
//	HashTable* m_class;
//
//}CS_assembly;

typedef struct CS_vm{
	//HashTable* m_assembly;
	HashTable* m_class;
}CS_vm;


void cslua_loadScript(const char* script);